package com.simtop.car.mapper;


import com.simtop.car.pojo.BrandType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CarMapper {
    List<BrandType> getCarBrandType();

    void addCarBrandType(BrandType brandType);

    void deleteBrandType(@Param("uId") Integer uId);

    BrandType checkBrandType(@Param("brandName") String brandName,@Param("uId") Integer uId);

    String getFirmIntroduction(@Param("brandName") String brandName);
}
